View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001920 | T99X171.00 SKB Eagle | VOC | public | 2024-04-15 17:57 | 2024-05-14 08:54 |
| Reporter | (ALTech) Younkwang Jung | Assigned To | (SW) Jerry Lin | Due Date | 2024-04-19 18:55 |
| Priority | normal | Severity | s4-minor | Reproducibility | always |
| Status | closed | Resolution | not fixable | ||
| Summary | 0001920: [Smart3][VoC] Update failed from 15.520.8 to 15.540.16 version | ||||
| Description | HI Kinbay Issue that could not be updated from 15.520.8 to 15.540.16 was reported in the field. https://jira.skbroadband.com/browse/BTVV-7714 When the QA team tested it, it's not being updated normally. Please check the reason why it is not updated. Thank you YK.Jung | ||||
| Tags | No tags attached. | ||||
| Attach Tags | |||||
|
|
Hi jerry Please update the progress Thank you YK.Jung |
|
|
Hi YK, I check with the recovery log for this issue. It seems to do "two step update" for 15.520.8. The 15.520.8 is Android 9. ////////////////////////// log fro Recovery mode ///////////////////////////// [ 47.330385] I:whole-file signature verified against RSA key 0 [ 47.330429] Update package verification took 9.2 s (result 0). [ 47.344908] I:Verifying package compatibility... [ 47.344945] I:Package doesn't contain compatibility.zip entry [ 47.344970] Installing update... [ 47.399714] SELinux: Loaded file_contexts [ 47.399750] [ 47.399757] -- Secure Check... [ 47.399767] kernel doesn't support secure check [ 47.399794] [ 47.399801] -- Dtb Check... [ 47.399810] build_date=1596193030, date=1596193030 [ 47.399817] build date=1596193030, upgrade with two step [ 47.399822] check = 3 [ 47.399828] data offset changed, need wipe_data [ 47.399834] [ 47.401189] write /cache/recovery/stage [ 47.401202] [ 47.401209] stage write len:1, 2 [ 47.401218] dtb check not match, but can upgrade by two step. ///////////////////////////// Commit id /////////////////////////////////////// jerry@010870-build57-workstation:~/project/Eagle/BFX_AT100/vendor/amlogic/common$ git show 50d3c194193656c9563b957492561733fa871628 commit 50d3c194193656c9563b957492561733fa871628 Author: Jim Chen <jim.jm.chen@fii-foxconn.com> Date: Fri Sep 11 20:58:39 2020 +0800 force two step upgrade if build date utc is less than 1599830972 diff --git a/external/recovery/updater/dtbcheck.cpp b/external/recovery/updater/dtbcheck.cpp index be889b69..15457805 100644 --- a/external/recovery/updater/dtbcheck.cpp +++ b/external/recovery/updater/dtbcheck.cpp @@ -730,6 +730,18 @@ RecoveryDtbCheck(const ZipArchiveHandle za){ return DTB_TWO_STEP; } + //VaS add, for changing dtb to unencrypted + //[ro.build.date.utc]: [1599830972] + //if build date utc is less than 1599830972, upgrade with two step + std::string build_date = android::base::GetProperty("ro.build.date.utc", ""); + int date; + sscanf(build_date.c_str(), "%d", &date); + printf("build_date=%s, date=%d\n", build_date.c_str(), date); + if ( date < 1599830972 ) { + printf("build date=%d, upgrade with two step\n", date); + return DTB_TWO_STEP; + } + Jerry |
|
|
Hi YK, I also test OTA upgrade from 15.520.8 to 15.541.65 version. It's OK. I check with commit log with 540 and 541 branches. I added the following commit in 541 branch. commit 0d93168b067fceefbf01e2bbf4dc6ddb3f4f13ca (tag: BFX-AT100_5.4.1_VCS_2023-1010-094503, tag: BFX-AT100_5.4.1_VCS_2023-1006-160528) Author: jerry <liang-chyi.lin@fii-foxconn.com> Date: Wed Sep 27 14:08:03 2023 +0800 [BPM-22583] Can not upgrade from ATV9 to ATV10 Change-Id: I17e6ff08955be02e441184ec17a6b51854e084ca Jerry |
|
|
Hi Jerry Thank you for your confirmation. I will update you if there are any additional things. Thank you YK.Jung |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2024-04-15 17:57 | (ALTech) Younkwang Jung | New Issue | |
| 2024-04-15 17:57 | (ALTech) Younkwang Jung | Status | new => assigned |
| 2024-04-15 17:57 | (ALTech) Younkwang Jung | Assigned To | => (SW) Kinbay Wu |
| 2024-04-15 18:03 | (ALTech) Younkwang Jung | Issue Monitored: (ALTech) SY Yoon | |
| 2024-04-15 18:03 | (ALTech) Younkwang Jung | Issue Monitored: (ALTech) JunGyu Kim | |
| 2024-04-15 18:03 | (ALTech) Younkwang Jung | Issue Monitored: (ALTech) Wooshin Kang | |
| 2024-04-15 18:03 | (ALTech) Younkwang Jung | Issue Monitored: (ALTech) Sangmin Choi | |
| 2024-04-15 20:11 | (SW) Kerwin Chen | Assigned To | (SW) Kinbay Wu => (SW) Jerry Lin |
| 2024-04-18 08:23 | (ALTech) Younkwang Jung | Note Added: 0015476 | |
| 2024-04-18 15:02 | (SW) Jerry Lin | Note Added: 0015489 | |
| 2024-04-18 17:41 | (SW) Jerry Lin | Note Added: 0015492 | |
| 2024-04-23 14:35 | (ALTech) Younkwang Jung | Note Added: 0015529 | |
| 2024-05-14 08:54 | (ALTech) Younkwang Jung | Status | assigned => closed |
| 2024-05-14 08:54 | (ALTech) Younkwang Jung | Resolution | open => not fixable |